<%@ Page Language="C#" AutoEventWireup="true" CodeFile="content.aspx.cs" Inherits="Private_CMS_main_Content" %>
<%@ Register TagPrefix="flux" Namespace="Deepcode.Flux.Core.UI.Controls" Assembly="Deepcode.Flux.Core" %>
<html>
<head runat="server">
	<link href="../../../Asset/Style/GeneralStyle.css" rel="stylesheet" type="text/css" />
	<link href="localstyle.css" rel="stylesheet" type="text/css" />
	<script language="javascript">
	function reloadNow()
	{
		var scrollPos = "";
		if( document.body )
			scrollPos = document.body.scrollLeft + "," + document.body.scrollTop;
		else
			scrollPos = window.pageXOffset + "," + window.pageYOffset;

		self.location.href = "content.aspx?parentID=<%=ParentID%>&scrollTo=" + scrollPos + "&selectID=<%=SelectedID%>";
	}
	</script>
</head>
<body class="nopad">
<form id="form1" runat="server">
<flux:HostTable runat="server">

<flux:Section runat="server" Title="" id="mainPanel" WithFooter="true">
<flux:StandardDataGrid runat="server" CellPadding="4" ID="_data" ClickRowSelect="true" ClickRowDeselect="true" AllowPaging="false" DataKeyField="PK_ID" AllowSorting="true" CurrentSort="Rank" CurrentSortDirection="ASCENDING">
	<Columns>
		
		<asp:TemplateColumn 
			ItemStyle-Width="32" 
			HeaderText="S">
			<ItemTemplate>
				<img runat="server" src="<%#GetIcon( Container.DataItem ) %>" alt="<%#GetAlt(Container.DataItem)%>"/>
			</ItemTemplate>
		</asp:TemplateColumn>

		<asp:BoundColumn
			ItemStyle-Width="80"
			SortExpression="Rank" DataField="Rank"
			ReadOnly="true" HeaderText="Rank"></asp:BoundColumn>
		
		<asp:BoundColumn 
			SortExpression="NodeTitle" DataField="NodeTitleTruncated"
			ReadOnly="true" HeaderText="Item"></asp:BoundColumn>
			
	    <asp:BoundColumn
	        DataField="NodeName"
	        ReadOnly="true" HeaderText="Path"></asp:BoundColumn>
	        
        <asp:BoundColumn DataField="CreatedDT" ReadOnly="true" HeaderText="Created"/>
        <asp:BoundColumn DataField="LastModifiedDT" ReadOnly="true" HeaderText="Modified"/>
        
        <asp:BoundColumn DataField="EnhancedEmbargoStatus" ReadOnly="true" HeaderText="Embargo"/>

	</Columns>
</flux:StandardDataGrid>
</flux:Section>

</flux:HostTable>
</form>
</body>
</html>
